import fetch from 'common/src/utils/fetch';
import baseUrl from './env';
// 学院认定课程时间设置列表
function getCollegeList(data) {
  return fetch({
      url: `${baseUrl}/facultyAffirmTime/getFacultyTimeList`,
      method: 'post',
      data
  });
}
// 学院认定课程时间设置新增
function collegeListAdd(data) {
  return fetch({
      url: `${baseUrl}/facultyAffirmTime/addFacultyTime`,
      method: 'post',
      data
  });
}
// 学院认定课程时间设置编辑
function collegeListEdit(data) {
  return fetch({
      url: `${baseUrl}/facultyAffirmTime/editFacultyTime`,
      method: 'post',
      data
  });
}
// 学院认定课程时间设置删除
function collegeListDelete(data) {
  return fetch({
      url: `${baseUrl}/facultyAffirmTime/deleteFacultyTime`,
      method: 'post',
      data
  });
}
const collegeCourseTimeSetApi = {
  getCollegeList,
  collegeListAdd,
  collegeListEdit,
  collegeListDelete
}
export default collegeCourseTimeSetApi;
